package com.nxk.modules.core.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nxk.modules.core.entity.SysUser;

import java.util.List;

public interface SysUserService extends IService<SysUser> {

    boolean save(SysUser sysUser);

    boolean initPwd(String userId);

    SysUser getUserByLoginCode(String loginCode);

    public SysUser getUserPassWord(String userId);

    List<SysUser> listAll(SysUser sysUser);

    boolean roleUser(List<String> userIds,String roleCode);

    IPage<SysUser> page(SysUser sysUser);

    boolean deleteById(String id);
}
